<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>唯品会商城</title>
  <link rel="stylesheet" href="css/base.css">
  <link rel="stylesheet" href="css/index.css">
  <link rel="stylesheet" href="libs/swiper//swiper-bundle.min.css">
  <script src="libs/swiper/swiper-bundle.min.js"></script>
  <script src="libs/requirejs/require.min.js" data-main='js/index'></script>
</head>

<body>
  <main>
    <div class="index-lunb">
      <div class="qur">
        <div class="index-un">
          <div class="swiper-container">
            <div class="swiper-wrapper">
            </div>
            <script type="text/html" id='slide-template'>
              {{each slides slide}}
              <div class="swiper-slide" ><img src="{{slide.imageUrl}}" alt="" class="ii"></div>
              {{/each}}
            </script>
            <!-- 如果需要导航按钮 -->
            <div class="swiper-button-prev"></div>
            <div class="swiper-button-next"></div>

            <!-- 如果需要滚动条 -->
            <div class="swiper-scrollbar"></div>
          </div>
          <div class="liss">
            <ul class="list">
              <li class="lis1"><a href="#">超级爆款日 稻香村月饼低至22元
                </a></li>
              <li class="lis2"><a href="#">伊芙丽集团 全场低至1折</a></li>
              <li class="lis2"><a href="#">王牌美妆×宝洁</a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="meir">
      <div class="chaoj">
        <div class="chaog">
          <img src="./images/3.jpg" alt="" class="ca1">
          <img src="./images/2.jpg" alt="">
          <img src="./images/1.jpg" alt="">
          <img src="./images/5.jpg" alt="">
        </div>
      </div>
      <div class="index-hot">
        <div class="bik">
          <img src="./images/meiribikan.jpg" alt="">
        </div>
        <div class="dapaifq">
          <div class="fendin">
            <ul></ul>
          </div>
          <!-- 编辑推荐商品 -->
          <script type="text/html" id="hot-template">
            {{each products prod}}
            <a href="/goods.html?id={{prod.id}}">
            <li class="yic">
            <img src="{{prod.image}}" alt="" class="hongy">
            <span class="kuans1">
              {{prod.title}}
            </span> 
            <span class="tema1">￥{{prod.price}}</span>
            <span class="jiage1">
              <span class="jiae1">{{prod.couponValue}}</span>
            </span>
          </li>
        </a>
            {{/each}}
          </script>
          <!-- <div class="paix">
            <img src="./images/paihg.jpg" alt="" class="paihg">
            <img src="./images/re.jpg" class="re1" alt="">
            <img src="./images/liany.png" alt="" class="liany">
            <img src="./images/redu.png" alt="" class="redu1">
            <span class="lyq">连衣裙</span>

            <img src="./images/re.jpg" class="re2" alt="">
            <img src="./images/huhu.png" alt="" class="huhu">
            <img src="./images/baokuan.png" alt="" class="baokuan">
            <span class="hh">护肤套装</span>
            <img src="./images/re.jpg" class="re3" alt="">
            <img src="./images/koubei.png" alt="" class="koubei">
            <img src="./images/fengx.png" alt="" class="fengx">
            <span class="ydx">运动鞋</span>
          </div>
          <div class="kqiang">
            <div class="kuaiq"> -->
          <!-- <img src="./images/wpkq.png" alt="" class="wpkq"> -->
          <!-- <ul class="index-tanxhe">
            <li>
              <img src="./images/cnn.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/mniu.png" alt="" class="mniu">
              <span class="tema4">￥99</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
            <li>
              <img src="./images/bbs.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/pbs.png" alt="" class="mniu">
              <span class="tema4">￥153</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
            <li>
              <img src="./images/huamei.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/huam.png" alt="" class="mniu">
              <span class="tema4">￥99</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
            <li>
              <img src="./images/lbj.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/bioi.png" alt="" class="mniu">
              <span class="tema4">￥63</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
            <li>
              <img src="./images/fancl.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/fan.png" alt="" class="mniu">
              <span class="tema4">￥153</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
            <li>
              <img src="./images/pid.jpg" alt="" class="cnn">
              <img src="./images/kb.png" alt="" class="kb">
              <img src="./images/zqpl.png" alt="" class="mniu">
              <span class="tema4">￥59</span>
              <span class="jiage4">
                <span class="jiae4">特卖价</span>
              </span>
            </li>
          </ul> -->
        </div>
      </div>
    </div>
    </div>
    </div>
    <div class="zongh">
      <ul>
        <li>
          <img src="./images/shuibei.jpg" alt="" class="shuibei">
          <div class="item">
            <span class="dazhe">0.8</span>
            <span class="index-zhe">折起</span>
            <span class="index-dsn">迪士尼DISNEY专场</span>
          </div>
        </li>
        <li>
          <img src="./images/adds.jpg" alt="" class="shuibei">
          <div class="item">
            <span class="dazhe">0.8</span>
            <span class="index-zhe">折起</span>
            <span class="index-dsn">迪士尼DISNEY专场</span>
          </div>
        </li>
        <li>
          <img src="./images/adds.jpg" alt="" class="shuibei">
          <div class="item">
            <span class="dazhe">0.8</span>
            <span class="index-zhe">折起</span>
            <span class="index-dsn">迪士尼DISNEY专场</span>
          </div>
        </li>
        <li>
          <img src="./images/adds.jpg" alt="" class="shuibei">
          <div class="item">
            <span class="dazhe">0.8</span>
            <span class="index-zhe">折起</span>
            <span class="index-dsn">迪士尼DISNEY专场</span>
          </div>
        </li>
        <li>
          <img src="./images/adds.jpg" alt="" class="shuibei">
          <div class="item">
            <span class="dazhe">0.8</span>
            <span class="index-zhe">折起</span>
            <span class="index-dsn">迪士尼DISNEY专场</span>
          </div>
        </li>
      </ul>
    </div>
  </main>
</body>
<!-- <script src="js/tools.js"></script> -->
<!-- <script>
  const lis = document.querySelectorAll('.swiper-slide .ii')
  let next = 1, cont = 0
  const len = lis.length
  function move() {
    fadeout(lis[cont], 1000)
    fadein(lis[next], 1000)
    cont = next
    next += 1
    if (next >= len) {
      next = 0
    }
  }
  let timer
  function autoplay() {
    timer = setInterval(move, 3000)
  }
  autoplay()
  on($('.swiper-wrapper'), 'mouseenter', () => { clearInterval(timer) })
  on($('.swiper-wrapper'), 'mouseleave', () => {
    move()
  })
</script> -->

</html>